<template>
  <div>
    <h2 class="title">{{message}}</h2>
    <button @click="butClick">按钮</button>
    <p>{{name}}</p>
    <Cpn/>
  </div>
</template>

<script>
  import Cpn from "./Cpn"

  export default {
    name: "App",
    components: {Cpn},
    comments: {
      Cpn
    },
    data() {
      return {
        message: "哈哈哈",
        name: "qwdfsdv",
      }
    },
    methods: {
      butClick() {
      }
    },
  }
</script>

<style scoped>
  .title {
    color: green;
  }
</style>